from abc import ABC

from src.application.category.interfaces import CategoryReader
from src.application.common.interfaces.uow import UnitOfWork


class CategoryUoW(UnitOfWork, ABC):
    def __init__(
        self,
        category_reader: CategoryReader,
    ) -> None:
        self.category_reader = category_reader
